package com.mskj.zxmy.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "ShipmentDetail", description = "发货明细单实体类")
public class XssalesDispatchDetails {
    @Schema(description = "主键ID")
    private int id;

    @Schema(description = "关联发货单")
    private int associatedConsignmentOrder;

    @Schema(description = "产品信息关联产品表主键")
    private int productInformation;

    @Schema(description = "发货数量")
    private int quantityOfShipments;

    @Schema(description = "发货单价")
    private Double unitPriceForShipment;

    @Schema(description = "发货金额")
    private Double amountOfShipment;

    @Schema(description = "订单数量")
    private Integer numberOfOrders;

    @Schema(description = "当前库存")
    private Integer currentInventory;

    @Schema(description = "已发货数量")
    private Integer numberOfShipments;

    @Schema(description = "剩余发货数量")
    private Integer numberOfRemainingShipments;

    @Schema(description = "退货数量")
    private Integer numberOfRefunds;

    @Schema(description = "可退货数量")
    private Integer refundables;

    @Schema(description = "退货金额")
    private Double amountOfReturn;

    @Schema(description = "创建人")
    private String synchronisingFolderFailed;

    @Schema(description = "创建时间")
    private String created;

    @Schema(description = "修改人")
    private String modifier;

    @Schema(description = "修改时间")
    private String modified;

    @Schema(description = "原单id")
    private Integer originalSingId;

    @Schema(description = "发货批次序号")
    private String serialNumberOfShipment;

    @Schema(description = "产品信息关联产品名")
    private String informationDataTitle;
}
